package com.qqtech.qquan.pub.service;

import java.util.List;

import com.qqtech.core.common.enums.BizzLevel2Enum;
import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.pub.model.*;

public interface PubConcernService extends BaseService<PubConcern> {

	/**
	 * 获取被关注内容的发布人ID
	 * @param bizzId
	 * @param bizzType
	 * @return
	 */
	Integer getBeUserId(int bizzId,String bizzType);
	
	
	/**
	 * 某用户是否关注过
	 * @param bizzId
	 * @param bizzType
	 * @param userId
	 * @return
	 */
	public boolean isConcernedByUser(int bizzId, String bizzType, Integer userId);


	/**
	 * 查询用户最近关注记录
	 * @param userId
	 * @param some
	 * @param bizzType
	 * @return
	 */
	List<PubConcernVo> myLastSomeConcerns(Integer userId, Integer some, BizzLevel2Enum bizzType);
}